package com.ucenter.server.auth.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;

import com.ucenter.server.auth.pojo.RoleInfo;

/**
 * role_info的Dao
 * @author autoCode
 * @date 2018-12-01 09:50:44
 * @version V1.0.0
 */
public interface RoleInfoDao {

	public abstract void save(RoleInfo roleInfo);

	public abstract void update(RoleInfo roleInfo);

	public abstract void delete(@Param("roleId")String roleId);

	public abstract RoleInfo get(@Param("roleId")String roleId);

	public abstract List<RoleInfo> findRoleInfo(RoleInfo roleInfo);
	
	public abstract int findRoleInfoCount(RoleInfo roleInfo);
}